package com.pine.common.captcha.core;

import lombok.AllArgsConstructor;
import lombok.Getter;

import java.awt.*;

/**
 * <p>
 * 验证码字体样式枚举
 * </p>
 *
 * @author pine manage
 * @since 2024-08-21
 */
@AllArgsConstructor
@Getter
public enum CaptchaFontStyleEnum {

    PLAIN(Font.PLAIN, "普通"),
    BOLD(Font.BOLD, "粗体"),
    ITALIC(Font.ITALIC, "斜体"),
    ;

    private final int style;
    // 字体名称
    private final String name;
}
